package com.feinno.urcs.group.interop.service;

import com.feinno.urcs.group.api.FXUserIndexService;
import com.feinno.urcs.group.interop.IUserIndexService;
import com.feinno.urcs.group.interop.entity.FXCatalogIndex;
import com.feinno.urcs.group.interop.entity.FXMobileNo;
import com.feinno.urcs.types.MobileNo;
import org.helium.framework.annotations.ServiceImplementation;
import org.helium.framework.annotations.ServiceSetter;

/**
 * @author Li.Hongbo <lihongbo@feinno.com>
 */
@ServiceImplementation
public class FXUserIndexServiceImplMock implements FXUserIndexService {
	@ServiceSetter
	private IUserIndexService cats;


	@Override
	public int getFxUserId(MobileNo mobileNo) throws Exception {
		return 0;
	}

	@Override
	public int getLogicPool(MobileNo mobileNo) throws Exception {
		return 0;
	}

	@Override
	public int getLogicPoolByUserId(int userId) throws Exception {
		return 0;
	}

	@Override
	public int getFxSid(MobileNo mobileNo) throws Exception {
		return 0;

	}

	@Override
	public FXCatalogIndex getFXCatalogIndex(MobileNo mobileNo) throws Exception {
		return new FXCatalogIndex();
	}

	@Override
	public FXCatalogIndex createAndGetFXCatalogIndex(MobileNo mobileNo) throws Exception {
		return new FXCatalogIndex();
	}
}
